package com.dzu.gulimall.ware.feign;

import com.dzu.gulimall.ware.vo.OrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ZhaoDong
 * @date 2022/9/14 18:03
 * @description gulimall
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {
    @GetMapping("/order/order/status/{orderSn}")
    OrderVo getOrderStatus(@PathVariable("orderSn") String orderSn);

}
